package com.cb.admin.mapper;
/*
 *  
 *  
*/
import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.cb.admin.domain.RoleInfo;

/**
 * 
 * @author 
 *
 */
@Mapper
public interface IRoleInfoMapper{
	
    RoleInfo queryById(int id);
    
   	List<RoleInfo> getListAll();
    
	int queryByName(String name);
    
	List<RoleInfo> query(RoleInfo role);

	int querySize(RoleInfo role);
    
    public int insert( RoleInfo roleInfo);
	
    void update( RoleInfo roleInfo);
    
    void deleteById(int id);
}